package org.flexharmony;

import org.flexharmony.harmonizer.QualifiedTypeName;

public enum ASFieldType
{
  NULL("not_set"),
  BOOLEAN("Boolean"),
  INT("int"),
  UINT("uint"),
  NUMBER("Number"),
  STRING("String"),
  ARRAY("Array"),
  ARRAY_COLLECTION("mx.collections", "ArrayCollection"),
  XML("XML"),
  BYTE_ARRAY("flash.utils", "ByteArray"),
  DATE("Date"),
  OBJECT("Object"),
  DICTIONARY("flash.utils", "Dictionary"),
  IEXTERNALIZABLE("flash.utils", "IExternalizable"),
  CUSTOM(null);
  
  public final QualifiedTypeName qName;
  
  private ASFieldType(String name)
  {
    this(null, name);
  }
  
  private ASFieldType(String packge, String name)
  {
    qName = new QualifiedTypeName(packge, name);
  }
}
